<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method = "get" action = "servlet9">
    <input type = "text" name = "username"> <br />
    <input type = "password" name = "userPwd"> <br />
    <input type = "checkbox" name = "hobby" value = "1"> 篮球
    <input type = "checkbox" name = "hobby" value = "2"> 排球
    <input type = "checkbox" name = "hobby" value = "3"> 足球
    <input type = "checkbox" name = "hobby" value = "4"> 游泳
    <br />
    <input type = "submit">
</form>
</body>
</html>